const align = 'center'
const width = ''


export const chainTableOption = {
  name: 'chainTableOption',
  columns: [{
    prop: 'relatedId',
    label: '单据编号',
    align,
    width
  }, {
    prop: 'changeSortName',
    label: '单据类别',
    align,
    width
  }, {
    prop: 'changeTime',
    label: '额度变化时间',
    align,
    width
  }, {
    prop: 'changeValue',
    label: '额度变化',
    align,
    width:'120rpx'
  }, {
    prop: 'changeClassName',
    label: '额度分类',
    align,
    width:'100rpx'
  }, {
    prop: 'creditLimit',
    label: '变化后的额度',
    align,
    width
  },{
    prop: 'operate',
    label: '详情',
    align,
    width:'100rpx'
  }]
}

export const supplierTableOption = {
  name: 'supplierTableOption',
  columns: [{
    prop: 'relatedId',
    label: '单据编号',
    align,
    width
  }, {
    prop: 'changeSortName',
    label: '单据类别',
    align,
    width
  }, {
    prop: 'changeTime',
    label: '额度变化时间',
    align,
    width
  },  {
    prop: 'changeStatus',
    label: '往来状态',
    align,
    width
  }, {
    prop: 'changeValue',
    label: '额度变化',
    align,
    width:'100rpx'
  },{
    prop: 'changeClassName',
    label: '额度分类',
    align,
    width:'100rpx'
  },  {
    prop: 'creditLimit',
    label: '变化后的额度',
    align,
    width
  },{
    prop: 'operate',
    label: '详情',
    align,
    width:'100rpx'
  }]
}

export default {
  chainTableOption,
  supplierTableOption
}
